package com.minimalist.common.entity.lindi.enums;

/**
 * 林地指标交易平台_指标购买申请枚举类
 *
 * @author 11987
 */
public class LindiPurchaseApplicationEnum{
    /**
     * 购买申请状态枚举
     */
    public enum StatusEnum{
        /**
         * 购买申请状态
         */
        PENDING_APPROVAL(0, "待审批"),
        APPROVED(1, "待确认"),
        Completed(2, "已完成"),
        REJECTED(-1, "审批不通过");

        private final Integer code;
        private final String desc;

        StatusEnum(Integer code, String desc){
            this.code = code;
            this.desc = desc;
        }

        public Integer getCode(){
            return code;
        }

        public String getDesc(){
            return desc;
        }
    }
}